<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DesignPattern: C:/96_project/DesignPattern/11_Flyweight/DESIGNPATTERN_FlyweightFactory.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="DesignPattern.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DesignPattern
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_055b986a60c1956738c96430354f3f08.html">11_Flyweight</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">DESIGNPATTERN_FlyweightFactory.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="stdafx_8h.html">stdafx.h</a>&quot;</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_FLYWEIGHTFACTORY_H</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h.html">DESIGNPATTERN_FlyweightFactory.h</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_FLYWEIGHT_H</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_8h.html">DESIGNPATTERN_Flyweight.h</a>&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160; </div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_CONCRETEFLYWEIGHT_H</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8h.html">DESIGNPATTERN_ConcreteFlyweight.h</a>&quot;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#endif</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160; </div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<a class="code" href="class_flyweight_factory.html">FlyweightFactory</a>* <a class="code" href="class_flyweight_factory.html#a49d2997e5543ebca8647108fbe3efcb9">FlyweightFactory::m_pInstance</a> = NULL;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160; </div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_flyweight_factory.html#a5cc51b52352f49c328c54a2937f53ae8">   30</a></span>&#160;<a class="code" href="class_flyweight_factory.html#a5cc51b52352f49c328c54a2937f53ae8">FlyweightFactory::FlyweightFactory</a>()</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;{</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;    <a class="code" href="_my_self_def_8h.html#a0be11ce2e33906806ac4e521781809c0">DEBUG_PRINTF</a>(<span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;}</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="class_flyweight_factory.html#a4d4199aa5961c143612bb87bb09fae18">   41</a></span>&#160;<a class="code" href="class_flyweight_factory.html#a4d4199aa5961c143612bb87bb09fae18">FlyweightFactory::~FlyweightFactory</a>()</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;{</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <a class="code" href="_my_self_def_8h.html#a0be11ce2e33906806ac4e521781809c0">DEBUG_PRINTF</a>(<span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    list&lt;Flyweight*&gt;::iterator iter;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keywordflow">for</span> (iter = <a class="code" href="class_flyweight_factory.html#ac9afef5cefd0757cf3bf2919288cff4f">m_listFlyweight</a>.begin(); iter != <a class="code" href="class_flyweight_factory.html#ac9afef5cefd0757cf3bf2919288cff4f">m_listFlyweight</a>.end(); iter++) {</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;        <span class="keywordflow">if</span> (NULL != *iter) {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;            <span class="keyword">delete</span> *iter;</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;            *iter = NULL;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        }</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    }</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;}</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<a class="code" href="class_flyweight_factory.html">FlyweightFactory</a>* </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="class_flyweight_factory.html#a9a35d35682a006de74b7027c7818f135">   61</a></span>&#160;<a class="code" href="class_flyweight_factory.html#a9a35d35682a006de74b7027c7818f135">FlyweightFactory::Instance</a>()</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;{</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <a class="code" href="_my_self_def_8h.html#a0be11ce2e33906806ac4e521781809c0">DEBUG_PRINTF</a>(<span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;    <span class="keywordflow">if</span> (NULL == <a class="code" href="class_flyweight_factory.html#a49d2997e5543ebca8647108fbe3efcb9">m_pInstance</a>) {</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <a class="code" href="class_flyweight_factory.html#a49d2997e5543ebca8647108fbe3efcb9">m_pInstance</a> = <span class="keyword">new</span> <a class="code" href="class_flyweight_factory.html#a5cc51b52352f49c328c54a2937f53ae8">FlyweightFactory</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    }</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_flyweight_factory.html#a49d2997e5543ebca8647108fbe3efcb9">m_pInstance</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;}</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<a class="code" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_flyweight_factory.html#a5e00f4d234d0089d2bb5f043c79be7d2">   79</a></span>&#160;<a class="code" href="class_flyweight_factory.html#a5e00f4d234d0089d2bb5f043c79be7d2">FlyweightFactory::Destroy</a>()</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;{</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <a class="code" href="_my_self_def_8h.html#a0be11ce2e33906806ac4e521781809c0">DEBUG_PRINTF</a>(<span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordflow">if</span> (NULL != <a class="code" href="class_flyweight_factory.html#a49d2997e5543ebca8647108fbe3efcb9">m_pInstance</a>) {</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <span class="keyword">delete</span> <a class="code" href="class_flyweight_factory.html#a49d2997e5543ebca8647108fbe3efcb9">m_pInstance</a>;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <a class="code" href="class_flyweight_factory.html#a49d2997e5543ebca8647108fbe3efcb9">m_pInstance</a> = NULL;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    }</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;}</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<a class="code" href="class_flyweight.html">Flyweight</a>* </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_flyweight_factory.html#aabb79a8ca9347a7fe1ba686c719bf5f0">   95</a></span>&#160;<a class="code" href="class_flyweight_factory.html#aabb79a8ca9347a7fe1ba686c719bf5f0">FlyweightFactory::CreateFlyweight</a>(<span class="keyword">const</span> <span class="keywordtype">string</span>&amp; key)</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;{</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <a class="code" href="_my_self_def_8h.html#a0be11ce2e33906806ac4e521781809c0">DEBUG_PRINTF</a>(<span class="stringliteral">&quot;&quot;</span>);</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;    <a class="code" href="class_flyweight.html">Flyweight</a>* pFlyweight = NULL;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    list&lt;Flyweight*&gt;::iterator iter;</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keywordflow">for</span> (iter = <a class="code" href="class_flyweight_factory.html#ac9afef5cefd0757cf3bf2919288cff4f">m_listFlyweight</a>.begin(); iter != <a class="code" href="class_flyweight_factory.html#ac9afef5cefd0757cf3bf2919288cff4f">m_listFlyweight</a>.end(); iter++) {</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;        <span class="keywordflow">if</span> (key == (*iter)-&gt;GetIntrinsicState()) {</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;            cout &lt;&lt; <span class="stringliteral">&quot;already created by users....&quot;</span> &lt;&lt; endl;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;            pFlyweight = *iter;</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;            <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        }</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    }</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    </div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    <span class="keywordflow">if</span> (NULL == pFlyweight) {</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;        pFlyweight = <span class="keyword">new</span> <a class="code" href="class_concrete_flyweight.html">ConcreteFlyweight</a>(key);</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;        <a class="code" href="class_flyweight_factory.html#ac9afef5cefd0757cf3bf2919288cff4f">m_listFlyweight</a>.push_back(pFlyweight);</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;    }</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keywordflow">return</span> pFlyweight;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;}</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">/* EOF */</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="a_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_html"><div class="ttname"><a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h.html">DESIGNPATTERN_FlyweightFactory.h</a></div><div class="ttdoc">Define an interface for creating an object, and the package object is created.</div></div>
<div class="ttc" id="a_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8h_html"><div class="ttname"><a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8h.html">DESIGNPATTERN_ConcreteFlyweight.h</a></div><div class="ttdoc">1.When the algorithm to create complex object should be independent of the part of the object,...</div></div>
<div class="ttc" id="aclass_flyweight_factory_html_ac9afef5cefd0757cf3bf2919288cff4f"><div class="ttname"><a href="class_flyweight_factory.html#ac9afef5cefd0757cf3bf2919288cff4f">FlyweightFactory::m_listFlyweight</a></div><div class="ttdeci">list&lt; Flyweight * &gt; m_listFlyweight</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html#l00082">DESIGNPATTERN_FlyweightFactory.h:82</a></div></div>
<div class="ttc" id="aclass_flyweight_factory_html_a5cc51b52352f49c328c54a2937f53ae8"><div class="ttname"><a href="class_flyweight_factory.html#a5cc51b52352f49c328c54a2937f53ae8">FlyweightFactory::FlyweightFactory</a></div><div class="ttdeci">FlyweightFactory()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html#l00030">DESIGNPATTERN_FlyweightFactory.cpp:30</a></div></div>
<div class="ttc" id="aclass_flyweight_factory_html_a5e00f4d234d0089d2bb5f043c79be7d2"><div class="ttname"><a href="class_flyweight_factory.html#a5e00f4d234d0089d2bb5f043c79be7d2">FlyweightFactory::Destroy</a></div><div class="ttdeci">static VOID Destroy()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html#l00079">DESIGNPATTERN_FlyweightFactory.cpp:79</a></div></div>
<div class="ttc" id="aclass_concrete_flyweight_html"><div class="ttname"><a href="class_concrete_flyweight.html">ConcreteFlyweight</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___concrete_flyweight_8h_source.html#l00017">DESIGNPATTERN_ConcreteFlyweight.h:17</a></div></div>
<div class="ttc" id="aclass_flyweight_factory_html_a9a35d35682a006de74b7027c7818f135"><div class="ttname"><a href="class_flyweight_factory.html#a9a35d35682a006de74b7027c7818f135">FlyweightFactory::Instance</a></div><div class="ttdeci">static FlyweightFactory * Instance()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html#l00061">DESIGNPATTERN_FlyweightFactory.cpp:61</a></div></div>
<div class="ttc" id="aclass_flyweight_factory_html_aabb79a8ca9347a7fe1ba686c719bf5f0"><div class="ttname"><a href="class_flyweight_factory.html#aabb79a8ca9347a7fe1ba686c719bf5f0">FlyweightFactory::CreateFlyweight</a></div><div class="ttdeci">Flyweight * CreateFlyweight(const string &amp;key)</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html#l00095">DESIGNPATTERN_FlyweightFactory.cpp:95</a></div></div>
<div class="ttc" id="a_my_self_def_8h_html_a7927e087749615dae3114cc27b91c86d"><div class="ttname"><a href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a></div><div class="ttdeci">void VOID</div><div class="ttdef"><b>Definition:</b> <a href="_my_self_def_8h_source.html#l00011">MySelfDef.h:11</a></div></div>
<div class="ttc" id="aclass_flyweight_html"><div class="ttname"><a href="class_flyweight.html">Flyweight</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_8h_source.html#l00016">DESIGNPATTERN_Flyweight.h:16</a></div></div>
<div class="ttc" id="astdafx_8h_html"><div class="ttname"><a href="stdafx_8h.html">stdafx.h</a></div></div>
<div class="ttc" id="aclass_flyweight_factory_html_a49d2997e5543ebca8647108fbe3efcb9"><div class="ttname"><a href="class_flyweight_factory.html#a49d2997e5543ebca8647108fbe3efcb9">FlyweightFactory::m_pInstance</a></div><div class="ttdeci">static FlyweightFactory * m_pInstance</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html#l00081">DESIGNPATTERN_FlyweightFactory.h:81</a></div></div>
<div class="ttc" id="a_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_8h_html"><div class="ttname"><a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_8h.html">DESIGNPATTERN_Flyweight.h</a></div><div class="ttdoc">1.When the algorithm to create complex object should be independent of the part of the object,...</div></div>
<div class="ttc" id="a_my_self_def_8h_html_a0be11ce2e33906806ac4e521781809c0"><div class="ttname"><a href="_my_self_def_8h.html#a0be11ce2e33906806ac4e521781809c0">DEBUG_PRINTF</a></div><div class="ttdeci">#define DEBUG_PRINTF(fmt, args...)</div><div class="ttdef"><b>Definition:</b> <a href="_my_self_def_8h_source.html#l00025">MySelfDef.h:25</a></div></div>
<div class="ttc" id="aclass_flyweight_factory_html"><div class="ttname"><a href="class_flyweight_factory.html">FlyweightFactory</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8h_source.html#l00016">DESIGNPATTERN_FlyweightFactory.h:16</a></div></div>
<div class="ttc" id="aclass_flyweight_factory_html_a4d4199aa5961c143612bb87bb09fae18"><div class="ttname"><a href="class_flyweight_factory.html#a4d4199aa5961c143612bb87bb09fae18">FlyweightFactory::~FlyweightFactory</a></div><div class="ttdeci">~FlyweightFactory()</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___flyweight_factory_8cpp_source.html#l00041">DESIGNPATTERN_FlyweightFactory.cpp:41</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
